package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("CRM_PurveyCompany")
public class CrmPurveycompany extends Model<CrmPurveycompany> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("CompanyName")
    private String CompanyName;

    @TableField("SimpleName")
    private String SimpleName;

    @TableField("CorporationDelegate")
    private String CorporationDelegate;

    @TableField("BusinessRange")
    private String BusinessRange;

    @TableField("RegisteFund")
    private Double RegisteFund;

    @TableField("GroupID")
    private Integer GroupID;

    @TableField("SaleType")
    private String SaleType;

    @TableField("CompanyType")
    private String CompanyType;

    @TableField("SquareMoney")
    private String SquareMoney;

    @TableField("SquareType")
    private String SquareType;

    @TableField("OpenBank")
    private String OpenBank;

    @TableField("BankAccount")
    private String BankAccount;

    @TableField("TaxRegister")
    private String TaxRegister;

    @TableField("Linkman")
    private String Linkman;

    @TableField("Phone")
    private String Phone;

    @TableField("Fax")
    private String Fax;

    @TableField("Email")
    private String Email;

    @TableField("ProvinceName")
    private String ProvinceName;

    @TableField("CityName")
    private String CityName;

    @TableField("Postalcode")
    private String Postalcode;

    @TableField("Address")
    private String Address;

    @TableField("InetAddress")
    private String InetAddress;

    @TableField("DepartmentID")
    private Long DepartmentID;

    @TableField("InGroup")
    private Boolean InGroup;

    @TableField("OrderID")
    private Integer OrderID;

    @TableField("Capacity")
    private Double Capacity;

    @TableField("Code")
    private String Code;

    @TableField("Term")
    private Integer Term;

    @TableField("SupplyRangeID")
    private String SupplyRangeID;

    @TableField("SupplyRangeName")
    private String SupplyRangeName;

    @TableField("Province")
    private Integer Province;

    @TableField("City")
    private Integer City;

    @TableField("Area")
    private Integer Area;

    @TableField("AreaName")
    private String AreaName;

    @TableField("CheckStatus")
    private Integer CheckStatus;

    @TableField("CheckUserID")
    private Long CheckUserID;

    @TableField("CheckUserName")
    private String CheckUserName;

    @TableField("CheckDateTime")
    private LocalDateTime CheckDateTime;

    @TableField("CheckRemark")
    private String CheckRemark;

    @TableField("SupplierStatus")
    private Integer SupplierStatus;

    @TableField("SupplierType")
    private String SupplierType;

    @TableField("FatherSupplierID")
    private Long FatherSupplierID;

    @TableField("OrganizationCode")
    private String OrganizationCode;

    @TableField("SupplierIntroduction")
    private String SupplierIntroduction;

    @TableField("Remark")
    private String Remark;

    @TableField("CreateUserID")
    private Long CreateUserID;

    @TableField("CreateUserName")
    private String CreateUserName;

    @TableField("CreateDate")
    private LocalDateTime CreateDate;

    @TableField("FileID")
    private Long FileID;

    @TableField("SupplierLevel")
    private Integer SupplierLevel;

    @TableField("ResponsibleMan")
    private String ResponsibleMan;

    @TableField("RegisterAddress")
    private String RegisterAddress;

    @TableField("BusinessNature")
    private String BusinessNature;

    @TableField("OrgCodeInvalidTime")
    private LocalDateTime OrgCodeInvalidTime;

    @TableField("BusinessNo")
    private String BusinessNo;

    @TableField("BusNoInvalidTime")
    private LocalDateTime BusNoInvalidTime;

    @TableField("TaxRegInvalidTime")
    private LocalDateTime TaxRegInvalidTime;

    @TableField("ThreeInOneNo")
    private String ThreeInOneNo;

    @TableField("ThreeInOneInvalidTime")
    private LocalDateTime ThreeInOneInvalidTime;

    @TableField("StopUserName")
    private String StopUserName;

    @TableField("StopDate")
    private LocalDateTime StopDate;

    @TableField("UnCreditCode")
    private String UnCreditCode;

    @TableField("UnCreditInvalidTime")
    private LocalDateTime UnCreditInvalidTime;

    @TableField("DelegatePhone")
    private String DelegatePhone;

    @TableField("SupplierFileID")
    private String SupplierFileID;

    @TableField("FileID1")
    private String FileID1;

    @TableField("FileID2")
    private String FileID2;

    @TableField("FileID3")
    private String FileID3;

    @TableField("FileID4")
    private String FileID4;

    @TableField("NnruiNo")
    private String NnruiNo;

    @TableField("NnruiAddress")
    private String NnruiAddress;

    @TableField("NnruiPhone")
    private String NnruiPhone;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("OldCompanyName")
    private String OldCompanyName;

    @TableField("BusFileID")
    private String BusFileID;

    @TableField("StopUserID")
    private Long StopUserID;

    @TableField("LandingProject")
    private String LandingProject;

    @TableField("SourceType")
    private Integer SourceType;

    @TableField("NnruiType")
    private Integer NnruiType;

    @TableField("AccountName")
    private String AccountName;

    @TableField("TaxRate")
    private String TaxRate;

    @TableField("CompanyPhone")
    private String CompanyPhone;

    @TableField("IsFour")
    private Integer IsFour;

    @TableField("reviewID")
    private Long reviewID;

    @TableField("reviewName")
    private String reviewName;

    @TableField("reviewTime")
    private LocalDateTime reviewTime;

    @TableField("reviewReason")
    private String reviewReason;

    @TableField("supplierSource")
    private String supplierSource;

    @TableField("SRMServiceRange")
    private String SRMServiceRange;

    @TableField("guid")
    private String guid;

    @TableField("Lifnr")
    private String Lifnr;

    @TableField("UPDATE_DATE")
    private LocalDateTime updateDate;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
